import os
import sys
path_codedir = '/'.join(os.getcwd().split('/')[:os.getcwd().split('/').index('ipn') + 1]) + '/code'
sys.path.append(path_codedir)
from init import set_log
set_log('main_log.txt')
import logging
logger = logging.getLogger(__name__)
from init import PATHS
import subprocess



def main():
    logger.info('BEGIN')
    logger.info('***********************************************************')
    logger.info('**********************  E_Analysis  ***********************')
    logger.info('***********************************************************')

    # Outputs the key figures shown in the manuscript
    from E_Analysis import a_figures_maintext_inter
    a_figures_maintext_inter.main()

    logger.info('THE END')


main()



